# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=amtk
pkgver=5.0.2
pkgrel=0
pkgdesc="Actions, Menus and Toolbars Kit for GTK+ applications"
url="https://wiki.gnome.org/Projects/Amtk"
arch="all"
license="LGPL-2.1-or-later"
makedepends="gtk+3.0-dev glib-dev gobject-introspection-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/amtk/${pkgver%.*}/amtk-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="71876430c4e7c19c49170ef6ff8d4c5324f871fd1e02162f33a9249b87f693fa4f4f748ac73d901135d331fee662e5000851e86a00d921da6669319728526136  amtk-5.0.2.tar.xz"
